package services

import (
	"context"
	"github.com/golang/protobuf/ptypes/empty"
	"github.com/golang/protobuf/ptypes/wrappers"
	context2 "kop/framework/context"
	"kop/modules/achievement/client"
	"kop/pb"
)

type AchievementService struct {
	context2.Context
}

func (*AchievementService) GetAchievements(ctx context.Context, req *empty.Empty) (*pb.Achievements, error) {

	return client.AchievementService.GetAchievements(ctx, req)
}
func (*AchievementService) GetAward(ctx context.Context, req *wrappers.Int32Value) (*pb.Award, error) {

	return client.AchievementService.GetAward(ctx, req)
}
